import Mock from 'mockjs'
import menuAPI from './menu/menu'
import userInfoApi from "./userInfo"
import dataApi from "./main"
// 用户相关
Mock.mock('/api/get/menu', 'get', menuAPI.getMenuList)
Mock.mock('/api/add/menu', 'post', menuAPI.addMenu)


//菜单
Mock.mock('/api/login', 'post', userInfoApi.login)

//数据列表
//获得
Mock.mock('/api/get/data', 'post', dataApi.getDataList)
//删除
Mock.mock('/api/del/data', 'post', dataApi.deleteData)
//修改
Mock.mock('/api/update/data', 'post', dataApi.updateData)